package com.ct.system.responsity.admin;

import com.ct.repository.commons.IBaseService;
import com.ct.system.orm.AdminSystemDepartment;

import java.util.List;

/**
 * 系统部门
 *
 * @author system
 */
public interface IAdminSystemDepartmentRepository extends IBaseService<AdminSystemDepartment> {

    /**
     * 查询公司部门
     * @return
     */
    List<AdminSystemDepartment> findPageTree(Long systemId);




    /**
     * 根据部门ID删除
     * @param id
     * @return
     */
    boolean removeByDepartmentId(Long id);

}
